var util = require('util');

app.get('/logout', function(req, res) {
	req.session.destroy(function() {
		res.render('message.jade', {
			title : 'Logout',
			user : undefined,
			message : 'You have logged out',
			next : '/',
			pretty : true
		});
	});
});